<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> 
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="Bookmark" href="/favicon.ico" />
<title>51Dinner regist</title>
<link href="../css/all.css" rel="stylesheet" type="text/css" />
<link href="../css/regesiter.css" rel="stylesheet" type="text/css" />
<script src="../js/main.js" type="text/javascript"></script>
<script src="../js/net.js" type="text/javascript"></script>
<script src="../js/common.js" type="text/javascript"></script>
<script src="../js/reg_validator.js" type="text/javascript"></script>
<script type="text/javascript">
var validatedInfo		= "填写正确。";
var requireErrorInfo	= "此项为必填项。<br>";
var msgInfo	= new Array();

msgInfo[0]	= new Array( '',
						 '您填写的用户名有误。5-20个字符(以字母开头，包括小写字母、数字、下划线)',
						 '此用户名已经被其他用户注册，请重新输入。');

msgInfo[1]= new Array(	'',
						'您设置的密码有误，密码应该由6-16个英文字母、数字或符号组成。',
						'请不要设置与用户名相同的密码，为了您的帐户安全，建议使用大小写字母与数字混合设置密码。');

msgInfo[2]= new Array(	'',
						'您设置的密码有误，密码应该由6-16个英文字母、数字或符号组成。',
						'两次输入的密码不一致，请重新输入。');

msgInfo[3]= new Array(	'',
						'电子邮件格式不正确,请输入正确的电子邮件地址。如：myname@sina.com。',
						'此邮箱已经被其他用户注册，请重新输入。');

msgInfo[4]= new Array(	'',
						'验证码错误',
						'验证码错误');
msgInfo[5]= new Array(	'',
						'时间格式错误',
						'关门时间错误');


function submitForm(obj) {
	var ret = true;
	ret = validateAll(obj);
	return ret;
}

</script>
<style type="text/css">
<!--
#toubiao {BORDER-BOTTOM: #ddd 1px solid; BORDER-top: #F0F0F0 1px solid; margin-bottom:5px;}
.STYLE1 {color: #666666}
.STYLE2 {font-size: 12px}
-->
</style>
</head>
<body>
<center>
  <div id="regpage">
    <table width="766" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#990033" >
      <tr>
        <td><img name="TOP_r5_c1" src="../images/TOP_r5_c1.jpg" width="25" height="58" border="0" id="TOP_r5_c1" alt="" /></td>
        <td background="../images/menu_xia_bg.jpg" ><table width="100%" height="58" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="691"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td colspan="2" height="3"></td>
                  </tr>
                  <tr>
                    <td width="90%"><div align="center"> <a class="MenuXia" href="../index.jsp">&nbsp;首页&nbsp;</a>| <a class="MenuXia" href="/help/help.jsp?sn=help_02" target="_blank">我的页面</a> | <a class="MenuXia" href="/help/help.jsp?sn=help_03" target="_blank">订餐搜索</a> | <a class="MenuXia" href="javascript:window.external.AddFavorite('http://www.51dinner.com','51Dinner网'); ">收藏本站</a></div></td>
                    <td width="10%">&nbsp;</td>
                  </tr>
                </table></td>
            </tr>
            <tr>
              <td ><script language=JavaScript>
	 function search(){
		location.assign("product/Prolist.jsp?key=----"+document.getElementById("searchtext").value+"-"
		                 +(document.getElementById ("searchsel").selectedIndex==0?"0-":"-0")+"----");
	 }
	</script>
                <form name="top001" onsubmit="javascript:search();return false;">
                  <table  class="shousuo" width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="5%"></td>
                      <td width="15%"><div align="left">搜索类型：</div></td>
                      <td width="30%"><select name="searchsel" id="searchsel">
                          <option value="0">搜索所有商品</option>
                          <option value="1">搜索所有卖家</option>
                        </select>
                      </td>
                      <td width="25%"><input name="searchtext" id="searchtext" type="text" size="15" /></td>
                      <td width="1%">&nbsp;</td>
                      <td width="7%"><input class="SousAn" type="button" onclick="search();" value="搜 索" height="150" />
                      </td>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
                </form></td>
            </tr>
          </table></td>
        <td align="right"><img src="../images/TOP_r5_c5.jpg" width="267" height="58" /></td>
      </tr>
    </table>
    <table width="600" align="center" border="0" cellspacing="4" cellpadding="0">
      <tr>
        <td align="left"> 你的位置： <a href="../index.jsp" class="MenuT">首页</a> >>
          注册 </td>
      </tr>
    </table>
    <table width="700" align="center" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><hr style="color:#EEEEEE" size="1" width="99%"/>
        </td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="13%">&nbsp;</td>
              <td align="left" width="87%" valign="middle"><img
					src="../images/register.gif" /></td>
            </tr>
          </table></td>
      </tr>
      <tr>
        <td><hr />
        </td>
      </tr>
      <tr>
        <td><form name=regForm onsubmit="return submitForm(this);" method="post" action="sellerRegistration.do">
            <table class="hg24" width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr align="left">
                <td height="40" width="15%" align="right">用&nbsp;户&nbsp;名：&nbsp;</td>
                <td><input class="textInput" id="sellerID"
					style="IME-MODE: disabled" maxlength=20 name=sellerID />
                  &nbsp;&nbsp; 用户名只能由字母开头，5-20个字符（包括字母、数字、下划线）组成&nbsp; <img id=sellerID_img name="sellerID_img"
					style="DISPLAY: none" src="../images/inputSucceed.gif" />
                  <div id=sellerID_info></div></td>
              </tr>
              <tr align="left">
                <td height="40" align=right>登录密码：&nbsp;</td>
                <td><table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><input class=textInput id=password1
							onkeyup=onPwdChange(this) style="IME-MODE: disabled"
							type=password maxlength=16 name=password1 />
                        &nbsp;&nbsp; 请设置6-16位，建议使用英文加数字或符号</td>
                      <td><table id="pwdSafe">
                          <tr>
                            <td align=left width=20 rowspan=2><img
									id=password1_img style="DISPLAY: none"
									src="../images/inputSucceed.gif" /></td>
                            <td>密码强度：</td>
                            <td align=center><div class=safeLowText id=pwdSafe1></div></td>
                          </tr>
                          <tr>
                            <td class=safeBg colspan=2><div id=pwdSafe2></div></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table>
                  <div class=clear></div>
                  <div id=password1_info></div></td>
              </tr>
              <tr align="left">
                <td height="40" align=right>密码确认：&nbsp;</td>
                <td><input type="password" maxlength="16" name="password2" id="password2" 
					style="IME-MODE: disabled" class=textInput  />
                  &nbsp;&nbsp;
                  请重复您的登录密码&nbsp; <img id=password2_img style="DISPLAY: none" src="../images/inputSucceed.gif"/>
                  <div id=password2_info></div></td>
              </tr>
			  
			  <tr align="left">
                <td height="40" align=right>注册店名：&nbsp;</td>
                <td><input type="text" maxlength="32" name="sellerName" id="sellerName" class=textInput  />
                  &nbsp;&nbsp;
                  此为显示在网页中的店铺名称&nbsp; <img id=sellerName_img style="DISPLAY: none" src="../images/inputSucceed.gif"/>
                  <div id=sellerName_info></div></td>
              </tr>
			  
			  <tr align="left">
                <td height="40" align=right>实名店址：&nbsp;</td>
                <td><input type="text" maxlength="54" name="sellerAddress" id="sellerAddress" class=textInput  />
                  &nbsp;&nbsp;
                  买家需要的商家信息&nbsp; <img id=sellerAddress_img style="DISPLAY: none" src="../images/inputSucceed.gif"/>
                  <div id=sellerAddress_info></div></td>
              </tr>
			  
			  <tr align="left">
                <td height="40" align=right>营业时间：&nbsp;</td>
                <td><input type="text" onkeydown="onlyNum()" onkeyup="checkTime(this);" maxlength="2" name="openTime" id="openTime" class=textInput  size="2" />时
				<img id=openTime_img style="DISPLAY: none" src="../images/inputSucceed.gif"/>
                至 <input type="text" onkeydown="onlyNum();" maxlength="2" name="closeTime" id="closeTime" class=textInput  size="2" />时
				<img id=closeTime_img style="DISPLAY: none" src="../images/inputSucceed.gif"/>
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				  买家需要的商家信息&nbsp; 
                  <div id=openTime_info></div><div id=closeTime_info></div></td>
              </tr>
			  
			  <tr align="left">
                <td height="40" align=right>订餐电话：&nbsp;</td>
                <td><input onkeydown="onlyNum();" type="text" maxlength="16" name="telephone" id="telephone" class=textInput  />
                  &nbsp;&nbsp;
                  买家可选的联系方式&nbsp; <img id=telephone_img style="DISPLAY: none" src="../images/inputSucceed.gif"/>
                  <div id=telephone_info></div></td>
              </tr>
			  
              <tr align="left">
                <td height="40" align=right>电子邮箱：&nbsp;</td>
                <td class=grayText><input class=textInput id=email
					style="IME-MODE: disabled" maxlength=64 name=email />
                  &nbsp;&nbsp; 输入正确的电子邮箱，有助于找回密码&nbsp; <img id=email_img style="DISPLAY: none"
					src="../images/inputSucceed.gif" />
                  <div id=email_info></div></td>
              </tr>
			  
			  <tr align="left">
                <td height="40" align=right>店铺描述：&nbsp;</td>
                <td><input type="text" maxlength="54" name="description" id="description" class=textInput  />
                  &nbsp;&nbsp;
                  卖家对店铺的时事描述（可以修改）&nbsp; <img id=description_img style="DISPLAY: none" src="../images/inputSucceed.gif"/>
                  <div id=description_info></div></td>
              </tr>
			  
              <tr align="left">
                <td align=right>验 证 码：&nbsp;</td>
                <td><table>
                    <tr>
                      <td><input class=validInput id=validator
							onkeydown="if(event.keyCode==13) randEnterFlag=true;"
							style="IME-MODE: disabled" maxlength=4 size=12 name=validator />
                        &nbsp;&nbsp;&nbsp;</td>
                      <td valign="bottom"><img border="0" id="IMGcheck"	src="../inc/Image.jsp" /> <img id=validator_img style="DISPLAY: none" src="../images/inputSucceed.gif" /></td>
                    </tr>
                  </table>
                  <div id=validator_info></div></td>
              </tr>
              <tr>
                <td height="70">&nbsp;</td>
                <td align="left" valign="middle"><input type='image' src='../images/an_zhuce.gif' id='submit' class='button' />
                </td>
              </tr>
            </table>
          </form></td>
      </tr>
	  <tr>
	  	<td align="center">
			Copyright (C) 2007-2008 51Dinner
		</td>
	  </tr>
    </table>
    <script>initForm();</script>
  </div>
</center>
<style>
#gNav { height: 45px; position: fixed !important; position: absolute; top: 50%; right: 3px; z-index: 9999; width: 110px; background-color:#ffffff}
.gNav { width: 110px; height: 45px;  overflow: hidden; position: relative; margin-left: 0;}
.tbstyle {border-color: #ddd; border:1px solid}
</style>
<map name="Map" id="Map">
  <area shape="rect" coords="166,4,221,22" href="product/Prolist.jsp?key=----------0" />
</map>
<map name="Map2" id="Map2">
  <area shape="rect" coords="169,3,220,22" href="product/Prolist.jsp?key=------0----" />
</map>
<map name="Map3" id="Map3">
  <area shape="rect" coords="131,3,185,23" href="emag/emag.jsp" />
</map>
<map name="Map4" id="Map4">
  <area shape="rect" coords="131,3,184,23" href="#" />
</map>
</body>
</html>
